package com.playball.lottery.util;

import java.util.ArrayList;
import java.util.List;

/**
 * 新版本11选五,11运夺金,FC3D工具类
 * 
 */
public class New11x5Util {
	/**
	 * 获取FC3D奖金额
	 * @param playTypeId FC3D玩法
	 * @return 奖金额
	 */
	public final static int getFC3DMoney(int playTypeId) {
		// 奖金
		int totalmoney = 0;
		if (playTypeId==604) {
			totalmoney = 173;
		} else if (playTypeId==605) {
			totalmoney = 346;
		} else {
			totalmoney = 1040;
		}
		return totalmoney;
	}
	
	/**
	 * 获取PL3奖金额
	 * @param playTypeId PL3玩法
	 * @return 奖金额
	 */
	public final static int getPL3Money(int playTypeId) {
		// 奖金
		int totalmoney = 0;
		if (playTypeId==6304) {
			totalmoney = 173;
		} else if (playTypeId==6305) {
			totalmoney = 346;
		} else {
			totalmoney = 1040;
		}
		return totalmoney;
	}
	/**
	 * 获取十一选五 汉字玩法名称
	 * @param playTypeId 十一选五玩法数字ID
	 * @return 汉字玩法名称
	 */
	public final static String getNew11x5PlayType(int playTypeId) {
		String strPlayType = "";
		if (playTypeId==7001) {
			strPlayType = "任选一";
		} else if (playTypeId==7002) {
			strPlayType = "任选二";
		} else if (playTypeId==7003) {
			strPlayType = "任选三";
		} else if (playTypeId==7004) {
			strPlayType = "任选四";
		} else if (playTypeId==7005) {
			strPlayType = "任选五";
		} else if (playTypeId==7006) {
			strPlayType = "任选六";
		} else if (playTypeId==7007) {
			strPlayType = "任选七";
		} else if (playTypeId==7008) {
			strPlayType = "任选八";
		} else if (playTypeId==7009) {
			strPlayType = "前二直选";
		} else if (playTypeId==7010) {
			strPlayType = "前三直选";
		} else if (playTypeId==7011) {
			strPlayType = "前二组选";
		} else if (playTypeId==7012) {
			strPlayType = "前三组选";
		}
		return strPlayType;
	}
	
	/**
	 * 获取十一运夺金 汉字玩法名称
	 * @param playTypeId 十一运夺金玩法数字ID
	 * @return 汉字玩法名称
	 */
	public final static String getNew11ydjPlayType(int playTypeId) {
		String strPlayType = "";
		if (playTypeId==6201) {
			strPlayType = "任选一";
		} else if (playTypeId==6202) {
			strPlayType = "任选二";
		} else if (playTypeId==6203) {
			strPlayType = "任选三";
		} else if (playTypeId==6204) {
			strPlayType = "任选四";
		} else if (playTypeId==6205) {
			strPlayType = "任选五";
		} else if (playTypeId==6206) {
			strPlayType = "任选六";
		} else if (playTypeId==6207) {
			strPlayType = "任选七";
		} else if (playTypeId==6208) {
			strPlayType = "任选八";
		} else if (playTypeId==6209) {
			strPlayType = "前二直选";
		} else if (playTypeId==6210) {
			strPlayType = "前三直选";
		} else if (playTypeId==6211) {
			strPlayType = "前二组选";
		} else if (playTypeId==6212) {
			strPlayType = "前三组选";
		}
		return strPlayType;
	}
	
	/**
	 * 获取FC3D 汉字玩法名称
	 * @param playTypeId FC3D玩法数字ID
	 * @return 汉字玩法名称
	 */
	public final static String getNewFC3DPlayType(int playTypeId) {
		String strPlayType = "";
		if (playTypeId==604) {
			strPlayType = "组选六";
		} else if (playTypeId==605) {
			strPlayType = "组选三";
		} else {
			strPlayType = "直选";
		}
		return strPlayType;
	}
	
	/**
	 * 获取排列三 汉字玩法名称
	 * @param playTypeId 排列三玩法数字ID
	 * @return 汉字玩法名称
	 */
	public final static String getNewPL3PlayType(int playTypeId) {
		String strPlayType = "";
		if (playTypeId==6304) {
			strPlayType = "组选六";
		} else if (playTypeId==6305) {
			strPlayType = "组选三";
		} else {
			strPlayType = "直选";
		}
		return strPlayType;
	}
}
